package com.ypinkj.app.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Feedback对象", description="意见反馈")
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户类型(0个人/1企业)")
    @TableField("userType")
    private String userType;

    @ApiModelProperty(value = "审核状态")
    @TableField("statusType")
    private String statusType;

    @ApiModelProperty(value = "用户名")
    @TableField("userName")
    private String userName;

    @ApiModelProperty(value = "问题内容")
    private String content;

    @ApiModelProperty(value = "问题图片")
    @TableField("questionPic")
    private String questionPic;

    //自动新增时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //自动更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
